/**
 * This file is part of mycollab-services.
 *
 * mycollab-services is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * mycollab-services is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with mycollab-services.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.mycollab.module.crm.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@SuppressWarnings("ucd")
public class MeetingExample {
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table m_crm_meeting
     *
     * @mbg.generated Fri Nov 25 23:57:08 ICT 2016
     */
    protected String orderByClause;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table m_crm_meeting
     *
     * @mbg.generated Fri Nov 25 23:57:08 ICT 2016
     */
    protected boolean distinct;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table m_crm_meeting
     *
     * @mbg.generated Fri Nov 25 23:57:08 ICT 2016
     */
    protected List<Criteria> oredCriteria;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_crm_meeting
     *
     * @mbg.generated Fri Nov 25 23:57:08 ICT 2016
     */
    public MeetingExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_crm_meeting
     *
     * @mbg.generated Fri Nov 25 23:57:08 ICT 2016
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_crm_meeting
     *
     * @mbg.generated Fri Nov 25 23:57:08 ICT 2016
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_crm_meeting
     *
     * @mbg.generated Fri Nov 25 23:57:08 ICT 2016
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_crm_meeting
     *
     * @mbg.generated Fri Nov 25 23:57:08 ICT 2016
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_crm_meeting
     *
     * @mbg.generated Fri Nov 25 23:57:08 ICT 2016
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_crm_meeting
     *
     * @mbg.generated Fri Nov 25 23:57:08 ICT 2016
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_crm_meeting
     *
     * @mbg.generated Fri Nov 25 23:57:08 ICT 2016
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_crm_meeting
     *
     * @mbg.generated Fri Nov 25 23:57:08 ICT 2016
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_crm_meeting
     *
     * @mbg.generated Fri Nov 25 23:57:08 ICT 2016
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table m_crm_meeting
     *
     * @mbg.generated Fri Nov 25 23:57:08 ICT 2016
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table m_crm_meeting
     *
     * @mbg.generated Fri Nov 25 23:57:08 ICT 2016
     */
    @SuppressWarnings("ucd")
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andSubjectIsNull() {
            addCriterion("subject is null");
            return (Criteria) this;
        }

        public Criteria andSubjectIsNotNull() {
            addCriterion("subject is not null");
            return (Criteria) this;
        }

        public Criteria andSubjectEqualTo(String value) {
            addCriterion("subject =", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectNotEqualTo(String value) {
            addCriterion("subject <>", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectGreaterThan(String value) {
            addCriterion("subject >", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectGreaterThanOrEqualTo(String value) {
            addCriterion("subject >=", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectLessThan(String value) {
            addCriterion("subject <", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectLessThanOrEqualTo(String value) {
            addCriterion("subject <=", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectLike(String value) {
            addCriterion("subject like", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectNotLike(String value) {
            addCriterion("subject not like", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectIn(List<String> values) {
            addCriterion("subject in", values, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectNotIn(List<String> values) {
            addCriterion("subject not in", values, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectBetween(String value1, String value2) {
            addCriterion("subject between", value1, value2, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectNotBetween(String value1, String value2) {
            addCriterion("subject not between", value1, value2, "subject");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(String value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(String value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(String value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(String value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(String value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(String value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLike(String value) {
            addCriterion("type like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotLike(String value) {
            addCriterion("type not like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<String> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<String> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(String value1, String value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(String value1, String value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeidIsNull() {
            addCriterion("typeid is null");
            return (Criteria) this;
        }

        public Criteria andTypeidIsNotNull() {
            addCriterion("typeid is not null");
            return (Criteria) this;
        }

        public Criteria andTypeidEqualTo(Integer value) {
            addCriterion("typeid =", value, "typeid");
            return (Criteria) this;
        }

        public Criteria andTypeidNotEqualTo(Integer value) {
            addCriterion("typeid <>", value, "typeid");
            return (Criteria) this;
        }

        public Criteria andTypeidGreaterThan(Integer value) {
            addCriterion("typeid >", value, "typeid");
            return (Criteria) this;
        }

        public Criteria andTypeidGreaterThanOrEqualTo(Integer value) {
            addCriterion("typeid >=", value, "typeid");
            return (Criteria) this;
        }

        public Criteria andTypeidLessThan(Integer value) {
            addCriterion("typeid <", value, "typeid");
            return (Criteria) this;
        }

        public Criteria andTypeidLessThanOrEqualTo(Integer value) {
            addCriterion("typeid <=", value, "typeid");
            return (Criteria) this;
        }

        public Criteria andTypeidIn(List<Integer> values) {
            addCriterion("typeid in", values, "typeid");
            return (Criteria) this;
        }

        public Criteria andTypeidNotIn(List<Integer> values) {
            addCriterion("typeid not in", values, "typeid");
            return (Criteria) this;
        }

        public Criteria andTypeidBetween(Integer value1, Integer value2) {
            addCriterion("typeid between", value1, value2, "typeid");
            return (Criteria) this;
        }

        public Criteria andTypeidNotBetween(Integer value1, Integer value2) {
            addCriterion("typeid not between", value1, value2, "typeid");
            return (Criteria) this;
        }

        public Criteria andStartdateIsNull() {
            addCriterion("startDate is null");
            return (Criteria) this;
        }

        public Criteria andStartdateIsNotNull() {
            addCriterion("startDate is not null");
            return (Criteria) this;
        }

        public Criteria andStartdateEqualTo(Date value) {
            addCriterion("startDate =", value, "startdate");
            return (Criteria) this;
        }

        public Criteria andStartdateNotEqualTo(Date value) {
            addCriterion("startDate <>", value, "startdate");
            return (Criteria) this;
        }

        public Criteria andStartdateGreaterThan(Date value) {
            addCriterion("startDate >", value, "startdate");
            return (Criteria) this;
        }

        public Criteria andStartdateGreaterThanOrEqualTo(Date value) {
            addCriterion("startDate >=", value, "startdate");
            return (Criteria) this;
        }

        public Criteria andStartdateLessThan(Date value) {
            addCriterion("startDate <", value, "startdate");
            return (Criteria) this;
        }

        public Criteria andStartdateLessThanOrEqualTo(Date value) {
            addCriterion("startDate <=", value, "startdate");
            return (Criteria) this;
        }

        public Criteria andStartdateIn(List<Date> values) {
            addCriterion("startDate in", values, "startdate");
            return (Criteria) this;
        }

        public Criteria andStartdateNotIn(List<Date> values) {
            addCriterion("startDate not in", values, "startdate");
            return (Criteria) this;
        }

        public Criteria andStartdateBetween(Date value1, Date value2) {
            addCriterion("startDate between", value1, value2, "startdate");
            return (Criteria) this;
        }

        public Criteria andStartdateNotBetween(Date value1, Date value2) {
            addCriterion("startDate not between", value1, value2, "startdate");
            return (Criteria) this;
        }

        public Criteria andEnddateIsNull() {
            addCriterion("endDate is null");
            return (Criteria) this;
        }

        public Criteria andEnddateIsNotNull() {
            addCriterion("endDate is not null");
            return (Criteria) this;
        }

        public Criteria andEnddateEqualTo(Date value) {
            addCriterion("endDate =", value, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateNotEqualTo(Date value) {
            addCriterion("endDate <>", value, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateGreaterThan(Date value) {
            addCriterion("endDate >", value, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateGreaterThanOrEqualTo(Date value) {
            addCriterion("endDate >=", value, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateLessThan(Date value) {
            addCriterion("endDate <", value, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateLessThanOrEqualTo(Date value) {
            addCriterion("endDate <=", value, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateIn(List<Date> values) {
            addCriterion("endDate in", values, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateNotIn(List<Date> values) {
            addCriterion("endDate not in", values, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateBetween(Date value1, Date value2) {
            addCriterion("endDate between", value1, value2, "enddate");
            return (Criteria) this;
        }

        public Criteria andEnddateNotBetween(Date value1, Date value2) {
            addCriterion("endDate not between", value1, value2, "enddate");
            return (Criteria) this;
        }

        public Criteria andLastupdatedtimeIsNull() {
            addCriterion("lastUpdatedTime is null");
            return (Criteria) this;
        }

        public Criteria andLastupdatedtimeIsNotNull() {
            addCriterion("lastUpdatedTime is not null");
            return (Criteria) this;
        }

        public Criteria andLastupdatedtimeEqualTo(Date value) {
            addCriterion("lastUpdatedTime =", value, "lastupdatedtime");
            return (Criteria) this;
        }

        public Criteria andLastupdatedtimeNotEqualTo(Date value) {
            addCriterion("lastUpdatedTime <>", value, "lastupdatedtime");
            return (Criteria) this;
        }

        public Criteria andLastupdatedtimeGreaterThan(Date value) {
            addCriterion("lastUpdatedTime >", value, "lastupdatedtime");
            return (Criteria) this;
        }

        public Criteria andLastupdatedtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("lastUpdatedTime >=", value, "lastupdatedtime");
            return (Criteria) this;
        }

        public Criteria andLastupdatedtimeLessThan(Date value) {
            addCriterion("lastUpdatedTime <", value, "lastupdatedtime");
            return (Criteria) this;
        }

        public Criteria andLastupdatedtimeLessThanOrEqualTo(Date value) {
            addCriterion("lastUpdatedTime <=", value, "lastupdatedtime");
            return (Criteria) this;
        }

        public Criteria andLastupdatedtimeIn(List<Date> values) {
            addCriterion("lastUpdatedTime in", values, "lastupdatedtime");
            return (Criteria) this;
        }

        public Criteria andLastupdatedtimeNotIn(List<Date> values) {
            addCriterion("lastUpdatedTime not in", values, "lastupdatedtime");
            return (Criteria) this;
        }

        public Criteria andLastupdatedtimeBetween(Date value1, Date value2) {
            addCriterion("lastUpdatedTime between", value1, value2, "lastupdatedtime");
            return (Criteria) this;
        }

        public Criteria andLastupdatedtimeNotBetween(Date value1, Date value2) {
            addCriterion("lastUpdatedTime not between", value1, value2, "lastupdatedtime");
            return (Criteria) this;
        }

        public Criteria andCreatedtimeIsNull() {
            addCriterion("createdTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatedtimeIsNotNull() {
            addCriterion("createdTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedtimeEqualTo(Date value) {
            addCriterion("createdTime =", value, "createdtime");
            return (Criteria) this;
        }

        public Criteria andCreatedtimeNotEqualTo(Date value) {
            addCriterion("createdTime <>", value, "createdtime");
            return (Criteria) this;
        }

        public Criteria andCreatedtimeGreaterThan(Date value) {
            addCriterion("createdTime >", value, "createdtime");
            return (Criteria) this;
        }

        public Criteria andCreatedtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createdTime >=", value, "createdtime");
            return (Criteria) this;
        }

        public Criteria andCreatedtimeLessThan(Date value) {
            addCriterion("createdTime <", value, "createdtime");
            return (Criteria) this;
        }

        public Criteria andCreatedtimeLessThanOrEqualTo(Date value) {
            addCriterion("createdTime <=", value, "createdtime");
            return (Criteria) this;
        }

        public Criteria andCreatedtimeIn(List<Date> values) {
            addCriterion("createdTime in", values, "createdtime");
            return (Criteria) this;
        }

        public Criteria andCreatedtimeNotIn(List<Date> values) {
            addCriterion("createdTime not in", values, "createdtime");
            return (Criteria) this;
        }

        public Criteria andCreatedtimeBetween(Date value1, Date value2) {
            addCriterion("createdTime between", value1, value2, "createdtime");
            return (Criteria) this;
        }

        public Criteria andCreatedtimeNotBetween(Date value1, Date value2) {
            addCriterion("createdTime not between", value1, value2, "createdtime");
            return (Criteria) this;
        }

        public Criteria andCreateduserIsNull() {
            addCriterion("createdUser is null");
            return (Criteria) this;
        }

        public Criteria andCreateduserIsNotNull() {
            addCriterion("createdUser is not null");
            return (Criteria) this;
        }

        public Criteria andCreateduserEqualTo(String value) {
            addCriterion("createdUser =", value, "createduser");
            return (Criteria) this;
        }

        public Criteria andCreateduserNotEqualTo(String value) {
            addCriterion("createdUser <>", value, "createduser");
            return (Criteria) this;
        }

        public Criteria andCreateduserGreaterThan(String value) {
            addCriterion("createdUser >", value, "createduser");
            return (Criteria) this;
        }

        public Criteria andCreateduserGreaterThanOrEqualTo(String value) {
            addCriterion("createdUser >=", value, "createduser");
            return (Criteria) this;
        }

        public Criteria andCreateduserLessThan(String value) {
            addCriterion("createdUser <", value, "createduser");
            return (Criteria) this;
        }

        public Criteria andCreateduserLessThanOrEqualTo(String value) {
            addCriterion("createdUser <=", value, "createduser");
            return (Criteria) this;
        }

        public Criteria andCreateduserLike(String value) {
            addCriterion("createdUser like", value, "createduser");
            return (Criteria) this;
        }

        public Criteria andCreateduserNotLike(String value) {
            addCriterion("createdUser not like", value, "createduser");
            return (Criteria) this;
        }

        public Criteria andCreateduserIn(List<String> values) {
            addCriterion("createdUser in", values, "createduser");
            return (Criteria) this;
        }

        public Criteria andCreateduserNotIn(List<String> values) {
            addCriterion("createdUser not in", values, "createduser");
            return (Criteria) this;
        }

        public Criteria andCreateduserBetween(String value1, String value2) {
            addCriterion("createdUser between", value1, value2, "createduser");
            return (Criteria) this;
        }

        public Criteria andCreateduserNotBetween(String value1, String value2) {
            addCriterion("createdUser not between", value1, value2, "createduser");
            return (Criteria) this;
        }

        public Criteria andSaccountidIsNull() {
            addCriterion("sAccountId is null");
            return (Criteria) this;
        }

        public Criteria andSaccountidIsNotNull() {
            addCriterion("sAccountId is not null");
            return (Criteria) this;
        }

        public Criteria andSaccountidEqualTo(Integer value) {
            addCriterion("sAccountId =", value, "saccountid");
            return (Criteria) this;
        }

        public Criteria andSaccountidNotEqualTo(Integer value) {
            addCriterion("sAccountId <>", value, "saccountid");
            return (Criteria) this;
        }

        public Criteria andSaccountidGreaterThan(Integer value) {
            addCriterion("sAccountId >", value, "saccountid");
            return (Criteria) this;
        }

        public Criteria andSaccountidGreaterThanOrEqualTo(Integer value) {
            addCriterion("sAccountId >=", value, "saccountid");
            return (Criteria) this;
        }

        public Criteria andSaccountidLessThan(Integer value) {
            addCriterion("sAccountId <", value, "saccountid");
            return (Criteria) this;
        }

        public Criteria andSaccountidLessThanOrEqualTo(Integer value) {
            addCriterion("sAccountId <=", value, "saccountid");
            return (Criteria) this;
        }

        public Criteria andSaccountidIn(List<Integer> values) {
            addCriterion("sAccountId in", values, "saccountid");
            return (Criteria) this;
        }

        public Criteria andSaccountidNotIn(List<Integer> values) {
            addCriterion("sAccountId not in", values, "saccountid");
            return (Criteria) this;
        }

        public Criteria andSaccountidBetween(Integer value1, Integer value2) {
            addCriterion("sAccountId between", value1, value2, "saccountid");
            return (Criteria) this;
        }

        public Criteria andSaccountidNotBetween(Integer value1, Integer value2) {
            addCriterion("sAccountId not between", value1, value2, "saccountid");
            return (Criteria) this;
        }

        public Criteria andLocationIsNull() {
            addCriterion("location is null");
            return (Criteria) this;
        }

        public Criteria andLocationIsNotNull() {
            addCriterion("location is not null");
            return (Criteria) this;
        }

        public Criteria andLocationEqualTo(String value) {
            addCriterion("location =", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotEqualTo(String value) {
            addCriterion("location <>", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationGreaterThan(String value) {
            addCriterion("location >", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationGreaterThanOrEqualTo(String value) {
            addCriterion("location >=", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLessThan(String value) {
            addCriterion("location <", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLessThanOrEqualTo(String value) {
            addCriterion("location <=", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLike(String value) {
            addCriterion("location like", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotLike(String value) {
            addCriterion("location not like", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationIn(List<String> values) {
            addCriterion("location in", values, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotIn(List<String> values) {
            addCriterion("location not in", values, "location");
            return (Criteria) this;
        }

        public Criteria andLocationBetween(String value1, String value2) {
            addCriterion("location between", value1, value2, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotBetween(String value1, String value2) {
            addCriterion("location not between", value1, value2, "location");
            return (Criteria) this;
        }

        public Criteria andIsrecurrenceIsNull() {
            addCriterion("isRecurrence is null");
            return (Criteria) this;
        }

        public Criteria andIsrecurrenceIsNotNull() {
            addCriterion("isRecurrence is not null");
            return (Criteria) this;
        }

        public Criteria andIsrecurrenceEqualTo(Boolean value) {
            addCriterion("isRecurrence =", value, "isrecurrence");
            return (Criteria) this;
        }

        public Criteria andIsrecurrenceNotEqualTo(Boolean value) {
            addCriterion("isRecurrence <>", value, "isrecurrence");
            return (Criteria) this;
        }

        public Criteria andIsrecurrenceGreaterThan(Boolean value) {
            addCriterion("isRecurrence >", value, "isrecurrence");
            return (Criteria) this;
        }

        public Criteria andIsrecurrenceGreaterThanOrEqualTo(Boolean value) {
            addCriterion("isRecurrence >=", value, "isrecurrence");
            return (Criteria) this;
        }

        public Criteria andIsrecurrenceLessThan(Boolean value) {
            addCriterion("isRecurrence <", value, "isrecurrence");
            return (Criteria) this;
        }

        public Criteria andIsrecurrenceLessThanOrEqualTo(Boolean value) {
            addCriterion("isRecurrence <=", value, "isrecurrence");
            return (Criteria) this;
        }

        public Criteria andIsrecurrenceIn(List<Boolean> values) {
            addCriterion("isRecurrence in", values, "isrecurrence");
            return (Criteria) this;
        }

        public Criteria andIsrecurrenceNotIn(List<Boolean> values) {
            addCriterion("isRecurrence not in", values, "isrecurrence");
            return (Criteria) this;
        }

        public Criteria andIsrecurrenceBetween(Boolean value1, Boolean value2) {
            addCriterion("isRecurrence between", value1, value2, "isrecurrence");
            return (Criteria) this;
        }

        public Criteria andIsrecurrenceNotBetween(Boolean value1, Boolean value2) {
            addCriterion("isRecurrence not between", value1, value2, "isrecurrence");
            return (Criteria) this;
        }

        public Criteria andRecurrencetypeIsNull() {
            addCriterion("recurrenceType is null");
            return (Criteria) this;
        }

        public Criteria andRecurrencetypeIsNotNull() {
            addCriterion("recurrenceType is not null");
            return (Criteria) this;
        }

        public Criteria andRecurrencetypeEqualTo(String value) {
            addCriterion("recurrenceType =", value, "recurrencetype");
            return (Criteria) this;
        }

        public Criteria andRecurrencetypeNotEqualTo(String value) {
            addCriterion("recurrenceType <>", value, "recurrencetype");
            return (Criteria) this;
        }

        public Criteria andRecurrencetypeGreaterThan(String value) {
            addCriterion("recurrenceType >", value, "recurrencetype");
            return (Criteria) this;
        }

        public Criteria andRecurrencetypeGreaterThanOrEqualTo(String value) {
            addCriterion("recurrenceType >=", value, "recurrencetype");
            return (Criteria) this;
        }

        public Criteria andRecurrencetypeLessThan(String value) {
            addCriterion("recurrenceType <", value, "recurrencetype");
            return (Criteria) this;
        }

        public Criteria andRecurrencetypeLessThanOrEqualTo(String value) {
            addCriterion("recurrenceType <=", value, "recurrencetype");
            return (Criteria) this;
        }

        public Criteria andRecurrencetypeLike(String value) {
            addCriterion("recurrenceType like", value, "recurrencetype");
            return (Criteria) this;
        }

        public Criteria andRecurrencetypeNotLike(String value) {
            addCriterion("recurrenceType not like", value, "recurrencetype");
            return (Criteria) this;
        }

        public Criteria andRecurrencetypeIn(List<String> values) {
            addCriterion("recurrenceType in", values, "recurrencetype");
            return (Criteria) this;
        }

        public Criteria andRecurrencetypeNotIn(List<String> values) {
            addCriterion("recurrenceType not in", values, "recurrencetype");
            return (Criteria) this;
        }

        public Criteria andRecurrencetypeBetween(String value1, String value2) {
            addCriterion("recurrenceType between", value1, value2, "recurrencetype");
            return (Criteria) this;
        }

        public Criteria andRecurrencetypeNotBetween(String value1, String value2) {
            addCriterion("recurrenceType not between", value1, value2, "recurrencetype");
            return (Criteria) this;
        }

        public Criteria andRecurrencestartdateIsNull() {
            addCriterion("recurrenceStartDate is null");
            return (Criteria) this;
        }

        public Criteria andRecurrencestartdateIsNotNull() {
            addCriterion("recurrenceStartDate is not null");
            return (Criteria) this;
        }

        public Criteria andRecurrencestartdateEqualTo(Date value) {
            addCriterion("recurrenceStartDate =", value, "recurrencestartdate");
            return (Criteria) this;
        }

        public Criteria andRecurrencestartdateNotEqualTo(Date value) {
            addCriterion("recurrenceStartDate <>", value, "recurrencestartdate");
            return (Criteria) this;
        }

        public Criteria andRecurrencestartdateGreaterThan(Date value) {
            addCriterion("recurrenceStartDate >", value, "recurrencestartdate");
            return (Criteria) this;
        }

        public Criteria andRecurrencestartdateGreaterThanOrEqualTo(Date value) {
            addCriterion("recurrenceStartDate >=", value, "recurrencestartdate");
            return (Criteria) this;
        }

        public Criteria andRecurrencestartdateLessThan(Date value) {
            addCriterion("recurrenceStartDate <", value, "recurrencestartdate");
            return (Criteria) this;
        }

        public Criteria andRecurrencestartdateLessThanOrEqualTo(Date value) {
            addCriterion("recurrenceStartDate <=", value, "recurrencestartdate");
            return (Criteria) this;
        }

        public Criteria andRecurrencestartdateIn(List<Date> values) {
            addCriterion("recurrenceStartDate in", values, "recurrencestartdate");
            return (Criteria) this;
        }

        public Criteria andRecurrencestartdateNotIn(List<Date> values) {
            addCriterion("recurrenceStartDate not in", values, "recurrencestartdate");
            return (Criteria) this;
        }

        public Criteria andRecurrencestartdateBetween(Date value1, Date value2) {
            addCriterion("recurrenceStartDate between", value1, value2, "recurrencestartdate");
            return (Criteria) this;
        }

        public Criteria andRecurrencestartdateNotBetween(Date value1, Date value2) {
            addCriterion("recurrenceStartDate not between", value1, value2, "recurrencestartdate");
            return (Criteria) this;
        }

        public Criteria andRecurrenceenddateIsNull() {
            addCriterion("recurrenceEndDate is null");
            return (Criteria) this;
        }

        public Criteria andRecurrenceenddateIsNotNull() {
            addCriterion("recurrenceEndDate is not null");
            return (Criteria) this;
        }

        public Criteria andRecurrenceenddateEqualTo(Date value) {
            addCriterion("recurrenceEndDate =", value, "recurrenceenddate");
            return (Criteria) this;
        }

        public Criteria andRecurrenceenddateNotEqualTo(Date value) {
            addCriterion("recurrenceEndDate <>", value, "recurrenceenddate");
            return (Criteria) this;
        }

        public Criteria andRecurrenceenddateGreaterThan(Date value) {
            addCriterion("recurrenceEndDate >", value, "recurrenceenddate");
            return (Criteria) this;
        }

        public Criteria andRecurrenceenddateGreaterThanOrEqualTo(Date value) {
            addCriterion("recurrenceEndDate >=", value, "recurrenceenddate");
            return (Criteria) this;
        }

        public Criteria andRecurrenceenddateLessThan(Date value) {
            addCriterion("recurrenceEndDate <", value, "recurrenceenddate");
            return (Criteria) this;
        }

        public Criteria andRecurrenceenddateLessThanOrEqualTo(Date value) {
            addCriterion("recurrenceEndDate <=", value, "recurrenceenddate");
            return (Criteria) this;
        }

        public Criteria andRecurrenceenddateIn(List<Date> values) {
            addCriterion("recurrenceEndDate in", values, "recurrenceenddate");
            return (Criteria) this;
        }

        public Criteria andRecurrenceenddateNotIn(List<Date> values) {
            addCriterion("recurrenceEndDate not in", values, "recurrenceenddate");
            return (Criteria) this;
        }

        public Criteria andRecurrenceenddateBetween(Date value1, Date value2) {
            addCriterion("recurrenceEndDate between", value1, value2, "recurrenceenddate");
            return (Criteria) this;
        }

        public Criteria andRecurrenceenddateNotBetween(Date value1, Date value2) {
            addCriterion("recurrenceEndDate not between", value1, value2, "recurrenceenddate");
            return (Criteria) this;
        }

        public Criteria andContacttypeIsNull() {
            addCriterion("contactType is null");
            return (Criteria) this;
        }

        public Criteria andContacttypeIsNotNull() {
            addCriterion("contactType is not null");
            return (Criteria) this;
        }

        public Criteria andContacttypeEqualTo(String value) {
            addCriterion("contactType =", value, "contacttype");
            return (Criteria) this;
        }

        public Criteria andContacttypeNotEqualTo(String value) {
            addCriterion("contactType <>", value, "contacttype");
            return (Criteria) this;
        }

        public Criteria andContacttypeGreaterThan(String value) {
            addCriterion("contactType >", value, "contacttype");
            return (Criteria) this;
        }

        public Criteria andContacttypeGreaterThanOrEqualTo(String value) {
            addCriterion("contactType >=", value, "contacttype");
            return (Criteria) this;
        }

        public Criteria andContacttypeLessThan(String value) {
            addCriterion("contactType <", value, "contacttype");
            return (Criteria) this;
        }

        public Criteria andContacttypeLessThanOrEqualTo(String value) {
            addCriterion("contactType <=", value, "contacttype");
            return (Criteria) this;
        }

        public Criteria andContacttypeLike(String value) {
            addCriterion("contactType like", value, "contacttype");
            return (Criteria) this;
        }

        public Criteria andContacttypeNotLike(String value) {
            addCriterion("contactType not like", value, "contacttype");
            return (Criteria) this;
        }

        public Criteria andContacttypeIn(List<String> values) {
            addCriterion("contactType in", values, "contacttype");
            return (Criteria) this;
        }

        public Criteria andContacttypeNotIn(List<String> values) {
            addCriterion("contactType not in", values, "contacttype");
            return (Criteria) this;
        }

        public Criteria andContacttypeBetween(String value1, String value2) {
            addCriterion("contactType between", value1, value2, "contacttype");
            return (Criteria) this;
        }

        public Criteria andContacttypeNotBetween(String value1, String value2) {
            addCriterion("contactType not between", value1, value2, "contacttype");
            return (Criteria) this;
        }

        public Criteria andContacttypeidIsNull() {
            addCriterion("contactTypeId is null");
            return (Criteria) this;
        }

        public Criteria andContacttypeidIsNotNull() {
            addCriterion("contactTypeId is not null");
            return (Criteria) this;
        }

        public Criteria andContacttypeidEqualTo(Integer value) {
            addCriterion("contactTypeId =", value, "contacttypeid");
            return (Criteria) this;
        }

        public Criteria andContacttypeidNotEqualTo(Integer value) {
            addCriterion("contactTypeId <>", value, "contacttypeid");
            return (Criteria) this;
        }

        public Criteria andContacttypeidGreaterThan(Integer value) {
            addCriterion("contactTypeId >", value, "contacttypeid");
            return (Criteria) this;
        }

        public Criteria andContacttypeidGreaterThanOrEqualTo(Integer value) {
            addCriterion("contactTypeId >=", value, "contacttypeid");
            return (Criteria) this;
        }

        public Criteria andContacttypeidLessThan(Integer value) {
            addCriterion("contactTypeId <", value, "contacttypeid");
            return (Criteria) this;
        }

        public Criteria andContacttypeidLessThanOrEqualTo(Integer value) {
            addCriterion("contactTypeId <=", value, "contacttypeid");
            return (Criteria) this;
        }

        public Criteria andContacttypeidIn(List<Integer> values) {
            addCriterion("contactTypeId in", values, "contacttypeid");
            return (Criteria) this;
        }

        public Criteria andContacttypeidNotIn(List<Integer> values) {
            addCriterion("contactTypeId not in", values, "contacttypeid");
            return (Criteria) this;
        }

        public Criteria andContacttypeidBetween(Integer value1, Integer value2) {
            addCriterion("contactTypeId between", value1, value2, "contacttypeid");
            return (Criteria) this;
        }

        public Criteria andContacttypeidNotBetween(Integer value1, Integer value2) {
            addCriterion("contactTypeId not between", value1, value2, "contacttypeid");
            return (Criteria) this;
        }

        public Criteria andIsclosedIsNull() {
            addCriterion("isClosed is null");
            return (Criteria) this;
        }

        public Criteria andIsclosedIsNotNull() {
            addCriterion("isClosed is not null");
            return (Criteria) this;
        }

        public Criteria andIsclosedEqualTo(Boolean value) {
            addCriterion("isClosed =", value, "isclosed");
            return (Criteria) this;
        }

        public Criteria andIsclosedNotEqualTo(Boolean value) {
            addCriterion("isClosed <>", value, "isclosed");
            return (Criteria) this;
        }

        public Criteria andIsclosedGreaterThan(Boolean value) {
            addCriterion("isClosed >", value, "isclosed");
            return (Criteria) this;
        }

        public Criteria andIsclosedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("isClosed >=", value, "isclosed");
            return (Criteria) this;
        }

        public Criteria andIsclosedLessThan(Boolean value) {
            addCriterion("isClosed <", value, "isclosed");
            return (Criteria) this;
        }

        public Criteria andIsclosedLessThanOrEqualTo(Boolean value) {
            addCriterion("isClosed <=", value, "isclosed");
            return (Criteria) this;
        }

        public Criteria andIsclosedIn(List<Boolean> values) {
            addCriterion("isClosed in", values, "isclosed");
            return (Criteria) this;
        }

        public Criteria andIsclosedNotIn(List<Boolean> values) {
            addCriterion("isClosed not in", values, "isclosed");
            return (Criteria) this;
        }

        public Criteria andIsclosedBetween(Boolean value1, Boolean value2) {
            addCriterion("isClosed between", value1, value2, "isclosed");
            return (Criteria) this;
        }

        public Criteria andIsclosedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("isClosed not between", value1, value2, "isclosed");
            return (Criteria) this;
        }

        public Criteria andIsnotifiedIsNull() {
            addCriterion("isNotified is null");
            return (Criteria) this;
        }

        public Criteria andIsnotifiedIsNotNull() {
            addCriterion("isNotified is not null");
            return (Criteria) this;
        }

        public Criteria andIsnotifiedEqualTo(Boolean value) {
            addCriterion("isNotified =", value, "isnotified");
            return (Criteria) this;
        }

        public Criteria andIsnotifiedNotEqualTo(Boolean value) {
            addCriterion("isNotified <>", value, "isnotified");
            return (Criteria) this;
        }

        public Criteria andIsnotifiedGreaterThan(Boolean value) {
            addCriterion("isNotified >", value, "isnotified");
            return (Criteria) this;
        }

        public Criteria andIsnotifiedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("isNotified >=", value, "isnotified");
            return (Criteria) this;
        }

        public Criteria andIsnotifiedLessThan(Boolean value) {
            addCriterion("isNotified <", value, "isnotified");
            return (Criteria) this;
        }

        public Criteria andIsnotifiedLessThanOrEqualTo(Boolean value) {
            addCriterion("isNotified <=", value, "isnotified");
            return (Criteria) this;
        }

        public Criteria andIsnotifiedIn(List<Boolean> values) {
            addCriterion("isNotified in", values, "isnotified");
            return (Criteria) this;
        }

        public Criteria andIsnotifiedNotIn(List<Boolean> values) {
            addCriterion("isNotified not in", values, "isnotified");
            return (Criteria) this;
        }

        public Criteria andIsnotifiedBetween(Boolean value1, Boolean value2) {
            addCriterion("isNotified between", value1, value2, "isnotified");
            return (Criteria) this;
        }

        public Criteria andIsnotifiedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("isNotified not between", value1, value2, "isnotified");
            return (Criteria) this;
        }

        public Criteria andIsnotifiedpriorIsNull() {
            addCriterion("isNotifiedPrior is null");
            return (Criteria) this;
        }

        public Criteria andIsnotifiedpriorIsNotNull() {
            addCriterion("isNotifiedPrior is not null");
            return (Criteria) this;
        }

        public Criteria andIsnotifiedpriorEqualTo(Integer value) {
            addCriterion("isNotifiedPrior =", value, "isnotifiedprior");
            return (Criteria) this;
        }

        public Criteria andIsnotifiedpriorNotEqualTo(Integer value) {
            addCriterion("isNotifiedPrior <>", value, "isnotifiedprior");
            return (Criteria) this;
        }

        public Criteria andIsnotifiedpriorGreaterThan(Integer value) {
            addCriterion("isNotifiedPrior >", value, "isnotifiedprior");
            return (Criteria) this;
        }

        public Criteria andIsnotifiedpriorGreaterThanOrEqualTo(Integer value) {
            addCriterion("isNotifiedPrior >=", value, "isnotifiedprior");
            return (Criteria) this;
        }

        public Criteria andIsnotifiedpriorLessThan(Integer value) {
            addCriterion("isNotifiedPrior <", value, "isnotifiedprior");
            return (Criteria) this;
        }

        public Criteria andIsnotifiedpriorLessThanOrEqualTo(Integer value) {
            addCriterion("isNotifiedPrior <=", value, "isnotifiedprior");
            return (Criteria) this;
        }

        public Criteria andIsnotifiedpriorIn(List<Integer> values) {
            addCriterion("isNotifiedPrior in", values, "isnotifiedprior");
            return (Criteria) this;
        }

        public Criteria andIsnotifiedpriorNotIn(List<Integer> values) {
            addCriterion("isNotifiedPrior not in", values, "isnotifiedprior");
            return (Criteria) this;
        }

        public Criteria andIsnotifiedpriorBetween(Integer value1, Integer value2) {
            addCriterion("isNotifiedPrior between", value1, value2, "isnotifiedprior");
            return (Criteria) this;
        }

        public Criteria andIsnotifiedpriorNotBetween(Integer value1, Integer value2) {
            addCriterion("isNotifiedPrior not between", value1, value2, "isnotifiedprior");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table m_crm_meeting
     *
     * @mbg.generated do_not_delete_during_merge Fri Nov 25 23:57:08 ICT 2016
     */
    @SuppressWarnings("ucd")
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table m_crm_meeting
     *
     * @mbg.generated Fri Nov 25 23:57:08 ICT 2016
     */
    @SuppressWarnings("ucd")
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}